Crate bevy_log

source ·
Expand description

This crate provides logging functions and configuration for Bevy apps, and automatically configures platform specific log handlers (i.e. WASM or Android).

The macros provided for logging are reexported from tracing, and behave identically to it.

By default, the LogPlugin from this crate is included in Bevy’s DefaultPlugins and the logging macros can be used out of the box, if used.

For more fine-tuned control over logging behavior, set up the LogPlugin or DefaultPlugins during app initialization.

Re-exports§

Modules§

Macros§

Structs§

  • Describes the level of verbosity of a span or event.
  • Adds logging to Apps. This plugin is part of the DefaultPlugins. Adding this plugin will setup a collector appropriate to your target platform:

Type Aliases§